<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" href="./fa/css/all.css">
</head>
<style>
    .clearfix::before,
    .clearfix::after {
        content: '';
        display: table;
        clear: both;
    }
    
    body {
        font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
    }
    
    .out {
        width: 100%;
        line-height: 30px;
        background-color: rgb(227, 228, 229);
        border-bottom: 1px solid rgb(204, 204, 204);
    }
    
    .contont {
        width: 1190px;
        margin: 0 auto;
        
    }
    
    .location {
        float: left;
    }
    
    .nav {
        float: right;
    }
    
    .nav li {
        float: left;
    }
    
    .city .fas {
        color: red;
    }
    
    .city a,
    .nav a,
    .nav i,
    .nav span {
        color: #999;
    }
    
    .city a:hover {
        color: red;
    }
    
    .nav a:hover {
        color: red;
    }
    
    .nav .line {
        width: 1px;
        height: 10px;
        background-color: #999;
        margin: 10px 10px;
    }
    
    .location .city-list {
        display: none;
        width: 320px;
        height: 436px;
        background-color: white;
        border: 1px solid rgb(204, 204, 204);
        top: 31px;
        position: absolute;
        box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
        z-index: 999;
    }
    
    .city {
        padding: 0 10px;
        border: 1px solid transparent;
        border-bottom: none;
        position: relative;
        z-index: 9999;
    }
    
    .location:hover .city-list {
        display: block;
    }
    
    .location:hover .city {
        background-color: white;
        border: 1px solid rgb(204, 204, 204);
        border-bottom: none;
        padding-bottom: 1px;
    }
</style>

<body>
    <div class="out ">
        <div class="contont clearfix">
            <div class="location">
                <div class="city">
                    <i class="fas fa-map-marker-alt"></i>
                    <a href="javascript:;">江苏</a>
                </div>
                <div class="city-list">
                </div>
            </div>
            <ul class="nav clearfix">
                <li>
                    <a href="javascript:;">你好，请登录</a>

                    <a href="javascript:;" style="color: red;">免费注册</a>
                </li>
                <li class="line"></li>
                <li>
                    <a href="javascript:;">我的订单</a>
                </li>
                <li class="line"></li>
                <li>
                    <a href="javascript:;">我的京东</a>
                    <i class="fas fa-angle-down"></i>
                </li>
                <li class="line"></li>
                <li>
                    <a href="javascript:;">京东会员</a>
                </li>
                <li class="line"></li>
                <li>
                    <a href="javascript:;" style="color: red;">企业采购</a>
                    <i class="fas fa-angle-down"></i>
                </li>
                <li class="line"></li>
                <li><span>客户服务<i class="fas fa-angle-down"></i></span></li>
                <li class="line"></li>
                <li><span>网站导航<i class="fas fa-angle-down"></i></span></li>
                <li class="line"></li>
                <li><span>手机京东</span></li>

            </ul>
        </div>
    </div>
</body>

</html>